<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0079)http://admin.online.zjgames.cn/Module/AppManager/SystemMessageInfo.aspx?cmd=add -->
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="../../styles/icon.css" rel="stylesheet" type="text/css">
    <link href="../../styles/iconfont.css" rel="stylesheet" type="text/css">

    <link href="../../styles/bootUpload.css" rel="stylesheet" type="text/css">
    <script src="../../js/lib/jquery-3.6.2.min.js" type="text/javascript"></script>
    <script src="../../js/shared/enumeration.js" type="text/javascript"></script>
    <link rel="stylesheet" href="../../lib/bootstrap-icons/font/bootstrap-icons.min.css">
    <link rel="stylesheet" href="../../lib/bootstrap/dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="../../lib/bootstrap-table/dist/bootstrap-table.min.css">
    <link rel="stylesheet" href="../../dist/css/bootstrap-admin.min.css">


    <script src="../../js/shared/code.js" type="text/javascript"></script>
    <script src="../../js/shared/utils.js" type="text/javascript"></script>
    <script src="../../js/shared/API.js" type="text/javascript"></script>
    <script src="../../js/lib/fileUpload.js" type="text/javascript"></script>
    <script src="../../js/gameControl/gameController.js" type="text/javascript"></script>


    <script src="../../lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
    <script src="../../lib/bootstrap-table/dist/bootstrap-table.min.js"></script>
    <script src="../../lib/sweetalert2/dist/sweetalert2.all.min.js"></script>
    <script src="../../dist/js/bootstrap-admin.min.js"></script>
    <script src="../../dist/js/app.js"></script>
    <script src="../../styles/bootstrap/js/table-cn.js" type="text/javascript"></script>


    <title></title>
</head>



<body class="bg-body-tertiary py-3">

    <div class="container-fluid">
        <div class="card border-0 shadow-sm">
            <div class="card-body">
                <!--  表格上方左侧的工具条区域    -->
                <div id="toolbar" class="d-flex flex-wrap gap-2 mb-2">
                    <button type="button" class="btn btn-primary" data-toggle="modal" onclick="robotEdit()">新增</button>
                    <!-- <button type="button" class="btn btn-primary" data-toggle="modal" onclick="addOrder()">批量投放</button> -->
                </div>
                <table id="robotData" style="font-size: 14px;" class="table table-bordered" data-locale="zh-CN">
                </table>
            </div>


        </div>

    </div>

    <div class="modal fade" id="addType" aria-labelledby="addOrderLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title">机器人投放</h5>
                </div>
                <div class="modal-body">

                    <div class="form-group">
                        <label for="addUserID">机器人ID</label>
                        <input type="text" class="form-control" id="reAddUserID">
                        <div>
                            <div class="form-group">
                                <label for="reGameType">投放游戏</label>
                                <select class="form-control" id="reGameType">
                                    <option value="1">炸金花</option>
                                    <option value="2">牛牛</option>
                                    <option value="3">跑得快</option>
                                    <option value="4">三公</option>
                                    <option value="5">红中麻将</option>
                                    <option value="8">斗公牛</option>
                                    <option value="9">十三水</option>
                                    <option value="10">血战麻将</option>
                                    <option value="11">关春天</option>
                                    <option value="12">捞腌菜</option>
                                    <option value="13">飞小鸡</option>
                                    <option value="14">三公比金花</option>
                                    <option value="15">十点半</option>
                                    <option value="22">冕宁跑得快</option>
                                    <option value="28">加锅推筒子</option>
                                    <option value="30">福建十三水</option>
                                    <option value="31">泉州麻将</option>
                                </select>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-primary" onclick="addRobotToUnionMu()">确定</button>
                </div>
            </div>
        </div>
    </div>


    <div class="modal fade" id="addOrder" aria-labelledby="addOrderLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title">机器人投放</h5>
                    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                </div>
                <div class="modal-body">

                    <div class="form-group">
                        <label for="addUserID">机器人ID</label>
                        <input type="text" class="form-control" id="addUserID">
                        <div>
                            <label for="addUnionID">联盟ID</label>
                            <input type="text" class="form-control" id="addUnionID">
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-primary" onclick="addRobotToUnionMu()">确定</button>
                </div>
            </div>
        </div>
    </div>


    <div class="modal fade " id="addNew" aria-labelledby="addNewLabel" aria-hidden="true">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title" id="addNewLabel">机器人信息</h5>
                    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                </div>
                <div class="modal-body">

                    <div class="row g-3">
                        <div class="col-md-6" style="padding: 0px,10px,-10px,0px;">
                            <div class="form-group">
                                <label for="lableUID">UID</label>
                                <input type="text" class="form-control" id="lableUID" aria-describedby="emailHelp">
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="form-group" style="padding: 0px,10px,-10px,0px;">
                                <label for="labelNickname">昵称</label>
                                <input type="text" class="form-control" id="labelNickname">
                            </div>
                        </div>
                    </div>
                    <div class="row">

                        <div class="col" style="padding: 0px,10px,-10px,0px;">
                            <div class="form-group">
                                <label for="labelIP">IP</label>
                                <input type="text" class="form-control" id="labelIP">
                            </div>
                        </div>
                        <div class="col" style="padding: 0px,10px,-10px,0px;">
                            <div class="form-group">
                                <label for="labelAddress">地址</label>
                                <input type="text" class="form-control" id="labelAddress">
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col" style="padding: 0px,10px,-10px,0px;">
                            <div class="form-group">
                                <label for="labelLatitude">经度</label>
                                <input type="text" class="form-control" id="labelLatitude">
                            </div>
                        </div>
                        <div class="col" style="padding: 0px,10px,-10px,0px;">
                            <div class="form-group">
                                <label for="labelLongitude">纬度</label>
                                <input type="text" class="form-control" id="labelLongitude">
                            </div>
                        </div>
                    </div>
                    <div class="row">

                        <div class="col" style="display: none;">
                            <div class="form-group">
                                <label for="labelIpAddress">userId</label>
                                <input type="text" class="form-control" id="labelUserID">
                            </div>
                        </div>
                    </div>
                    <!-- <div class="row" style="padding: 0px,10px,-20px,0px;">

                        <div class=" col">
                            <div class="form-group">
                                <label for="labelGameType">投放游戏</label>
                                <select class="form-control" id="labelGameType">
                                    <option value="0">全部</option>
                                    <option value="1">炸金花</option>
                                    <option value="2">牛牛</option>
                                    <option value="3">跑得快</option>
                                    <option value="4">三公</option>
                                    <option value="5">红中麻将</option>
                                    <option value="8">斗公牛</option>
                                    <option value="9">十三水</option>
                                    <option value="10">血战麻将</option>
                                    <option value="11">关春天</option>
                                    <option value="12">捞腌菜</option>
                                    <option value="13">飞小鸡</option>
                                    <option value="14">三公比金花</option>
                                    <option value="15">十点半</option>
                                    <option value="22">冕宁跑得快</option>
                                    <option value="28">加锅推筒子</option>
                                    <option value="30">福建十三水</option>
                                    <option value="31">泉州麻将</option>
                                </select>
                            </div>
                        </div>
                    </div> -->


                    <div class="form-group">
                        <label for="labelAvatar">头像</label>
                        <div id="imgArr" class="fileUploadContent"></div>
                    </div>


                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-primary" onclick="saveData()">保存</button>
                </div>
            </div>
        </div>
    </div>


</body>



</html>